﻿/// <reference path="../../jquery.min.js" />
/// <reference path="../../module/rsseasy.v2.js" />

$("#wherepage").load(function () {
    var t = $(this);
    RssApi.Table.List("article").select("id,ico,title,summary,shijian").condition(new RssDict().keyvalue("classifyid", 1).keyvalue("id", 1).getDict()).getJson(function (json) {
        t.find("tbody").maplist(json, {
            "shijian": function (val) {
                return new Date(val * 1000).toString("yyyy-MM-dd HH:mm:ss");
            }
        });
    });
});
